package com.smallrig.mall.template.cola;

import com.smallrig.mall.template.entity.Order;
import com.smallrig.mall.template.state.OrderStatus;
import com.smallrig.mall.template.state.OrderStatusChangeEvent;

public abstract class AbstractOrderState implements OrderState{


    protected void updateOrder(OrderStatus from, OrderStatus to, OrderStatusChangeEvent event, Order order){
        System.out.println("update");
    }

}
